<?php

include_once ('conn.php');

$id = $_GET['id'];

$sql = "delete from `department` where `id`='$id'";

$pd = mysqli_query($conn,$sql);

if(!$pd){
    die("删除失败！");
}

header('location:index.php');




